projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4b23716
)
Mark sgml-basic-offset as safe for integers
author
Lucas Werkmeister
<mail@lucaswerkmeister.de>
Sat, 5 Sep 2020 14:54:45 +0000
(16:54 +0200)
committer
Stefan Kangas
<stefankangas@gmail.com>
Sat, 5 Sep 2020 14:59:24 +0000
(16:59 +0200)
* lisp/textmodes/sgml-mode.el (sgml-basic-offset):
Add :safe. (Bug#43215)
lisp/textmodes/sgml-mode.el
patch
|
blob
|
history
diff --git
a/lisp/textmodes/sgml-mode.el
b/lisp/textmodes/sgml-mode.el
index 1672dce4f2383af5dba1e64002a85f6d2bbbc054..04f1dddf5fc035390d7580443f211913b02fb370 100644
(file)
--- a/
lisp/textmodes/sgml-mode.el
+++ b/
lisp/textmodes/sgml-mode.el
@@
-46,7
+46,8
@@
(defcustom sgml-basic-offset 2
"Specifies the basic indentation level for `sgml-indent-line'."
- :type 'integer)
+ :type 'integer
+ :safe #'integerp)
(defcustom sgml-attribute-offset 0
"Specifies a delta for attribute indentation in `sgml-indent-line'.